//
//  LHQPlayerMusicTool.h
//  Music
//
//  Created by dllo on 16/6/12.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
@interface LHQPlayerMusicTool : NSObject
@property (nonatomic, strong) AVPlayer *player;
@property (nonatomic, strong) AVPlayerItem *playerItem;
@property (nonatomic, assign) BOOL isplay;
@property (nonatomic, copy) NSString *urlMusic;

//进度条的值
@property (nonatomic, copy) NSString *pross;


//是否重复
@property (nonatomic, copy) NSString *isRep;
//播放完毕
@property (nonatomic, assign) BOOL isEnd;

//请求数据
+ (void)getPlay:(NSString *) urlStr;

+ (LHQPlayerMusicTool *)sharePlay;

+ (void)getLocal:(NSString *) url;

//单曲播放
+ (void)getSinglePlay:(NSString *) urlStr;


//添加播放完毕通知
- (void)addNot;






@end
